package android.team.app.utility;

import android.team.app.MyApplication;
import android.util.Log;

/**
 * 
 * @author sonnv6207
 * 
 * build the log method
 *
 */
public class SmartLogUtility {
	
	//============Log.d=================//
	public static void logD(String TAG, String message){
		
		if(MyApplication.DEBUG_MODE){
			
			Log.d(TAG, message);
		}
		
	}
	
	
	//============Log.e=================//
	public static void logE(String TAG, String message){
		
		if(MyApplication.DEBUG_MODE){
			
			Log.e(TAG, message);
		}
	}
	
	
	//============Log.w=================//
	public static void logW(String TAG, String message){
		
		if(MyApplication.DEBUG_MODE){
			
			Log.w(TAG, message);
		}
	}
	

}
